<!-- 寄快递 -->
<template>
  <div class="express-delivery">
    <div class="header">
      <div class="back" @click="goBack">
        <div class="back-arrow">&lt;</div>
      </div>
      <div class="title">寄快递</div>
    </div>
    <div class="content">
      <!-- 页面内容 -->
    </div>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router'

const router = useRouter()

const goBack = () => {
  router.back()
}
</script>

<style scoped>
.express-delivery {
  width: 100%;
  height: 100vh;
  background-color: #f7f8fa;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 46px;
  background-color: #fff;
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
}

.back-arrow {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  margin-right: 24px;
}

.content {
  padding-top: 46px;
}
</style>